package com.lang.beans;

import java.util.HashSet;
import java.util.Set;

/**
 * Parcel entity. @author MyEclipse Persistence Tools
 */

public class Parcel implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private String sendName;
	private String sendTel;
	private String sendAddr;
	private String recName;
	private String recTel;
	private String recAddr;
	private Integer size;
	private Integer type;
	private float weight;
	private Integer transType;
	private Integer status;
	private Integer payType;
	private String comment;
	private Set tasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Parcel() {
	}

	/** minimal constructor */
	public Parcel(User user, String sendName, String sendTel, String sendAddr,
			String recName, String recTel, String recAddr, Integer size,
			Integer type, float weight, Integer transType, Integer status,
			Integer payType) {
		this.user = user;
		this.sendName = sendName;
		this.sendTel = sendTel;
		this.sendAddr = sendAddr;
		this.recName = recName;
		this.recTel = recTel;
		this.recAddr = recAddr;
		this.size = size;
		this.type = type;
		this.weight = weight;
		this.transType = transType;
		this.status = status;
		this.payType = payType;
	}

	/** full constructor */
	public Parcel(User user, String sendName, String sendTel, String sendAddr,
			String recName, String recTel, String recAddr, Integer size,
			Integer type, float weight, Integer transType, Integer status,
			Integer payType, String comment, Set tasks) {
		this.user = user;
		this.sendName = sendName;
		this.sendTel = sendTel;
		this.sendAddr = sendAddr;
		this.recName = recName;
		this.recTel = recTel;
		this.recAddr = recAddr;
		this.size = size;
		this.type = type;
		this.weight = weight;
		this.transType = transType;
		this.status = status;
		this.payType = payType;
		this.comment = comment;
		this.tasks = tasks;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getSendName() {
		return this.sendName;
	}

	public void setSendName(String sendName) {
		this.sendName = sendName;
	}

	public String getSendTel() {
		return this.sendTel;
	}

	public void setSendTel(String sendTel) {
		this.sendTel = sendTel;
	}

	public String getSendAddr() {
		return this.sendAddr;
	}

	public void setSendAddr(String sendAddr) {
		this.sendAddr = sendAddr;
	}

	public String getRecName() {
		return this.recName;
	}

	public void setRecName(String recName) {
		this.recName = recName;
	}

	public String getRecTel() {
		return this.recTel;
	}

	public void setRecTel(String recTel) {
		this.recTel = recTel;
	}

	public String getRecAddr() {
		return this.recAddr;
	}

	public void setRecAddr(String recAddr) {
		this.recAddr = recAddr;
	}

	public Integer getSize() {
		return this.size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public float getWeight() {
		return this.weight;
	}

	public void setWeight(float weight) {
		this.weight = weight;
	}

	public Integer getTransType() {
		return this.transType;
	}

	public void setTransType(Integer transType) {
		this.transType = transType;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPayType() {
		return this.payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Set getTasks() {
		return this.tasks;
	}

	public void setTasks(Set tasks) {
		this.tasks = tasks;
	}

}